package cn.wit.Test;
/**
 * 打印第一个形状
 * @author 16604
 *
 */
public class TestPrintFirst {
	public static void main(String[] args) {
		int i;
		int j;
		for(i = 0;i < 5;i++) {
			for(j = 0;j < 5;j++) {
				if(i==j)
					System.out.print("*"+" ");
				else if(i + j == 4){
					System.out.print("*"+" ");
				}
				else {
				System.out.print("."+" ");
				}
			}
			System.out.println("");
		}
	}

}
